﻿<br />
<div class="code">
<span class="Modifier">public</span>&nbsp;<span class="ValueType">enum</span>&nbsp;EncryptionType<br />
{&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;None&nbsp;=&nbsp;0,<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Base64&nbsp;=&nbsp;1,<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Description(<span class="String">"Data&nbsp;Encryption&nbsp;Standard"</span>)]<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DES&nbsp;=&nbsp;2,<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TripleDES&nbsp;=&nbsp;3,<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Description(<span class="String">"Advanced&nbsp;Encryption&nbsp;Standard"</span>)]<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AES&nbsp;=&nbsp;4<br />
}<br />
<br />
<span class="Modifier">public</span>&nbsp;<span class="ReferenceType">class</span>&nbsp;LoginModel:&nbsp;BaseKoViewModel<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Modifier">public</span>&nbsp;<span class="ReferenceType">string</span>&nbsp;UserName&nbsp;{&nbsp;get;&nbsp;set;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Modifier">public</span>&nbsp;<span class="ReferenceType">string</span>&nbsp;UserPassword&nbsp;{&nbsp;get;&nbsp;set;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Modifier">public</span>&nbsp;EncryptionType&nbsp;Encryption&nbsp;{&nbsp;get;&nbsp;set;&nbsp;}<br />
}
</div>